<?php
namespace Com\Weixin;

/**
 * 微信支付接口
 *
 * @author codebean
 *
 */
class Qrcode
{

    public function __construct()
    {
        require_once "Pay/unit/phpqrcode/phpqrcode.php";
    }

    public function png($text, $outfile, $level, $size, $margin, $saveandprint){
        \QRcode::png($text,$outfile,$level,$size,$saveandprint);
    }

}